#ifndef __OBJECTATTREDITORPANEL_H__
#define __OBJECTATTREDITORPANEL_H__

#include <stl/list.h>
#include "workbasepanel.h"

enum EToolEditType{
    ETET_Terrain,
    ETET_SceneObjecty,
    ETET_SceneUnit,
    ETET_Area,
    ETET_Camera,
    ETET_Object,
    ETET_Count,
};



class CObjectAttrEditorPanel: public CWorkBasePanel{
public:
    CObjectAttrEditorPanel( float fLeft, float fTop, float fWidth, float fHeight );
    virtual ~CObjectAttrEditorPanel();
    virtual void Init();
    virtual void Final();
    void SetToolEditorType( EToolEditType eType );
    EToolEditType GetActiveEditType();

private:
    void OnNotification_NewGame_Event( int32 w, int32 l, void* pData );
    void OnNotification_SelectObject_Event(int32 w, int32 l, void* pData);
    virtual int32 OnTextEditEvent(CUIElement* pSelf, const char* strText);

private:
    CPanel* m_pBaseInfoPanel;
    CTextBox* m_pBaseInfoTB;
    CEditBox* m_pPositionEB[3];
    CEditBox* m_pRotationEB;
    CEditBox* m_pScaleEB;
    CTextBox* m_pAttributeTB;

    list<class CSceneObject*>* m_vpSelectSceneObjectList;
};




#endif
